xl: pci multi-function passthrough v2
authorStefano Stabellini <sstabellini@xensource.com>
Mon, 9 Aug 2010 16:46:39 +0000 (17:46 +0100)
committerStefano Stabellini <sstabellini@xensource.com>
Mon, 9 Aug 2010 16:46:39 +0000 (17:46 +0100)
commit1d05a5dafbb1fd1ca0872f61a374c0bc12f618b5
tree00d6d6ccf560426de2f00c6101c8a80cfea84b20
parentba8ae70f8e72a1f164cbbb2487b0f24c8dd6ccd3
xl: pci multi-function passthrough v2

Implement PCI pass-through for multi-function devices. The supported BDF
notation is: BB:DD.* - therefore passing-through a subset of functions or
remapping the function numbers is not supported except for when passing
through a single function which will be a virtual function 0.

Letting qemu automatically select the virtual slot is not supported in
multi-function passthrough since the qemu-dm protocol can not actually
handle that case.

Also fix format error in xl pci-list-assignable.

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/libxl.h
tools/libxl/libxl_pci.c
tools/libxl/xl_cmdimpl.c